MAPNN n/a   IE 4   DOM 1

The MAP object reflects the MAP element.

 
HTML Equivalent
<MAP>
 
Object Model Reference
IE [window.]document.all.elementID
nameNN n/a   IE 4   DOM 1
 Read/Write
 

The identifier associated with the client-side image map specification. A MAP element contains all the AREA elements that define the hotspots of an image and their link destinations. The name assigned to the MAP element is the one cited by the USEMAP attribute of the IMG element. This binds the MAP definitions to the image.

 
Example
document.all.myMap.name = "altMap"
 
Value
Case-sensitive identifier that follows the rules of identifier naming: it may contain no whitespace, cannot begin with a numeral, and should avoid punctuation except for the underscore character.
 
Default None.
areas[ ]NN n/a   IE 4   DOM n/a

A collection of all AREA element objects nested inside the MAP element.

 
Syntax
document.all.myMap.areas(index)